package com.coocaa.typhoon.api.base.constant;

import lombok.experimental.UtilityClass;

/**
 * @author bijiahao
 * @date : 2025/9/18 15:29
 * @description
 */
@UtilityClass
public class CacheConstants {
    /**
     * 6Min
     */
    public static final long CACHE_TIME_SIX_MIN = 60 * 6L;
    /**
     * 缓存时间设置（单位：秒） 10Min
     */
    public static final long CACHE_TIME_TEN_MIN = 60 * 10L;
    /**
     * 半个小时
     */
    public static final long CACHE_TIME_HALF_HOUR = 60 * 30L;
    /**
     * 一个小时
     */
    public static final long CACHE_TIME_ONE_HOUR = 60 * 60L;
    /**
     * 两小时
     */
    public static final long CACHE_TIME_TWO_HOUR = 60 * 60 * 2L;

    /**
     * 三个小时
     */
    public static final long CACHE_TIME_THREE_HOUR = 60 * 60L * 3L;

    /**
     * 六个小时
     */
    public static final long CACHE_TIME_SIX_HOURS = 60 * 60 * 6L;
    /**
     * 半天（12个小时）
     */
    public static final long CACHE_TIME_HALF_DAY = 60 * 60 * 12L;
    /**
     * 一天（24个小时）
     */
    public static final long CACHE_TIME_ONE_DAY = 60 * 60 * 24L;

    /**
     * 三天
     */
    public static final long CACHE_TIME_THREE_DAY = 3 * 60 * 60 * 24L;

    /**
     * 七天
     */
    public static final long CACHE_TIME_ONE_WEEK = 7 * 60 * 60 * 24L;
    /**
     * 14天
     */
    public static final long CACHE_TIME_TWO_WEEK = 14 * 60 * 60 * 24L;

    /**
     * 永久
     */
    public static final long CACHE_TIME_FOREVER = -1L;


    public static final String TASK_PROGRESS = "TaskProgress";
}
